'use strict';
module.exports = app => {
  const { TINYINT, INTEGER } = app.Sequelize;

  const AarticleCommentLiking = app.model.define('article_comment_liking', {
    comment_id: {
      type: INTEGER,
      allowNull: false,
      comment: '评论id',
    },
    user_id: {
      type: INTEGER,
      allowNull: false,
      comment: '用户id',
    },
    status: {
      type: TINYINT,
      allowNull: false,
      defaultValue: 1,
      comment: '状态(0:不正常;1:正常;)',
    },

  });
  return AarticleCommentLiking;
};
